package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.activity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 活动管理 Excel VO
 *
 * @author 沣东养老院管理员
 */
@Data
public class ActivityExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("标题")
    private String title;

    @ExcelProperty("缩略图")
    private String imageUrls;

    @ExcelProperty("详情")
    private String detail;

    @ExcelProperty("开始时间")
    private LocalDateTime startTime;

    @ExcelProperty("结束时间")
    private LocalDateTime endTime;

    @ExcelProperty("预览数量")
    private Long previewNum;

    @ExcelProperty("限制人数")
    private Long astrictNum;

    @ExcelProperty("参与人数")
    private Long nowNum;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("is_initiate") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer type;

    @ExcelProperty(value = "种类", converter = DictConvert.class)
    @DictFormat("activity") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer kind;

}
